package edu.tongji.structureplayer.structure
{
    public class MaterialProperty extends BaseStructure
    {
        private var _elasticModulus:Number;
        private var _poissonRatio:Number;
        
        public function MaterialProperty(name:String, elasticModulus:Number, poissonRatio:Number)
        {
            super(name);
            _elasticModulus = elasticModulus;
            _poissonRatio = poissonRatio;
        }

        public function get elasticModulus():Number
        {
            return _elasticModulus;
        }

        public function set elasticModulus(value:Number):void
        {
            _elasticModulus = value;
        }

        public function get poissonRatio():Number
        {
            return _poissonRatio;
        }

        public function set poissonRatio(value:Number):void
        {
            _poissonRatio = value;
        }
        
        public function debugPrint():void
        {
            trace("MaterialProperty " + name + "(" + _elasticModulus + ", " + _poissonRatio + ")");
        }


    }
}